package com.hong.qrpc.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 该类用于保存注册服务的信息
 * @Author HQT
 * @Date 2022/7/23 14:09
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RegisterCenterConfig {
    private String registerCenterAddr;
    private String serverIp;
    private Integer serverPort;
    private String serverName;

    @Override
    public String toString() {
        return "RegisterCenterConfig{" +
                "registerCenterAddr='" + registerCenterAddr + '\'' +
                ", serverIp='" + serverIp + '\'' +
                ", serverPort='" + serverPort + '\'' +
                ", serverName='" + serverName + '\'' +
                '}';
    }
}
